<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'index.jsp' starting page</title>
  </head>
  
  <body>
  		<form action="<%=path %>/userRegister.do" method="post" name="loginForm">
	    	用户名：<input type="text" name="username" id="username"><br/>
	    	密码：<input type="password" name="password" id="password"><br/>
	    	电邮：<input type="text" name="email" id="email"><br/>
	    	电话：<input type="text" name="username" id="username"><br/>
	    	<input type="submit" value="提交">
    	</form>
  </body>
</html>
